<template>
  <div class="set-user">
    <el-tabs v-model="activeName" class="site-tab">
      <el-tab-pane label="注册" name="register">
        <register/>
      </el-tab-pane>
      <el-tab-pane label="登录" name="login">

        <login/>
      </el-tab-pane>
      <!--<el-tab-pane label="用户中心" name="user">-->

      <!--<user/>-->
      <!--</el-tab-pane>-->
      <el-tab-pane label="用户信息设置" name="userSet">

        <userSet/>
      </el-tab-pane>
      <el-tab-pane label="默认头像" name="heade">

        <heade/>
      </el-tab-pane>
      <el-tab-pane label="私信" name="letter">

        <letter/>
      </el-tab-pane>
      <el-tab-pane label="会员设置" name="vip">

        <vip/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import register from './components/username/register'
  import login from './components/username/login'
  // import user from './components/username/user'
  import userSet from './components/username/userSet'
  import heade from './components/username/heade'
  import letter from './components/username/letter'
  import vip from './components/username/vip'

  export default {
    components: {
      register,
      login,
      // user,
      userSet,
      heade,
      letter,
      vip
    },
    data() {
      return {
        activeName: 'register'
      }
    }
  }
</script>

<style lang="scss" scoped>
  .set-user {
    .site-tab {
      width: 100%;
      padding: 0 20px;
      box-sizing: border-box;
      margin-top: 10px;

      .el-tabs__item {
        font-size: 17px;
        line-height: 52px;
      }
    }
  }
</style>
